/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class InviteCode {
    /**
     * invite_code.id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * invite_code.code
     * 生成的验证码
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String code;

    /**
     * invite_code.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * invite_code.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * invite_code.phone
     * 
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String phone;

    /**
     * invite_code.status
     * 0：生成的新码，-4：使用过的码
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * invite_code.type
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * invite_code.effective_time
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date effectiveTime;

    /**
     * invite_code.reason
     * 使用过则标记为使用
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String reason;

    /* @mbggenerated */
    public Integer getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Integer id) {
        this.id = id;
    }

    /* @mbggenerated */
    public String getCode() {
        return code;
    }

    /* @mbggenerated */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getPhone() {
        return phone;
    }

    /* @mbggenerated */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Date getEffectiveTime() {
        return effectiveTime;
    }

    /* @mbggenerated */
    public void setEffectiveTime(Date effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    /* @mbggenerated */
    public String getReason() {
        return reason;
    }

    /* @mbggenerated */
    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }
}